Skip to content

Conversation

@mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jun 3, 2025

Previously the CloudWatchLogEventMonitor wasn't closed immediately when the FileWatcher returned from watch() was disposed. This wasn't super bad, since it would only wait for one additional tick to finish, but also isn't great.

This was discovered by jest reporting open handles. Well done jest!


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@mrgrain mrgrain temporarily deployed to integ-approval June 3, 2025 09:44 — with GitHub Actions Inactive
@aws-cdk-automation aws-cdk-automation requested a review from a team June 3, 2025 09:44
@github-actions github-actions bot added the p2 label Jun 3, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.06%. Comparing base (49699d8) to head (550eb3a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #567      +/-   ##
==========================================
- Coverage   79.61%   79.06%   -0.56%     
==========================================
  Files          47       47              
  Lines        7083     7083              
  Branches      798      792       -6     
==========================================
- Hits         5639     5600      -39     
- Misses       1423     1464      +41     
+ Partials       21       19       -2     
Flag Coverage Δ
suite.unit 79.06% <ø> (-0.56%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Jun 3, 2025
Merged via the queue into main with commit e284bbb Jun 3, 2025
26 checks passed
@aws-cdk-automation aws-cdk-automation deleted the mrgrain/fix/cloudWatchLogMonitor-not-closing branch June 3, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants